<%--
  User: Shengzhao Li
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>事情操作</title>
</head>
<body>
<div id="thing_warning_action_page" data-role="dialog" data-theme="e">
    <div data-role="content">
        <div class="ui-bar-c ui-corner-top ui-corner-bottom details-area">
            <p>事情:&nbsp;<span class="color-s">${thingDto.content}</span></p>

            <p>优先级: <strong class="${thingDto.priorityCssStyle}">${thingDto.priority.label}</strong></p>
            <c:if test="${not empty thingDto.startDate}">
                <p>开始时间: <span class="color-s">${thingDto.startDate}</span></p>
            </c:if>
            <p>创建时间: <span class="color-s">${thingDto.createTime}</span></p>
            <c:if test="${not empty thingDto.eventName}">
                <p>所属事件: <span class="color-s">${thingDto.eventName}</span></p>
            </c:if>
        </div>
        <div>
            <a href="../changestatus/${thingDto.guid}/PENDING" data-ajax="false" data-role="button"
               data-theme="b">开始</a>
            <a href="../changestatus/${thingDto.guid}/CANCEL" data-ajax="false" data-role="button" data-theme="b">取消</a>
            <a href="javascript:void(0);" data-role="button" data-theme="c" data-rel="back">返回</a>
        </div>
    </div>
</div>
</body>
</html>